//
//  JYTimePickerView.h
//  JYFarm
//
//  Created by 花花 on 2017/10/26.
//  Copyright © 2017年 花花. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^SelectTimeBlock)(NSString *time);

@interface JYTimePickerView : UIButton

@property (nonatomic, copy) SelectTimeBlock selectTimeBlock;

+ (instancetype)selectTime:(SelectTimeBlock)selectTimeBlock;

- (void)show;

- (void)dismiss;
@end
